<template>
    <view>
        <view>scroll-view纵向滚动</view>
        <ScrollView class="scroll-y" scroll-y="true">
            <view class="bg-blue item">A</view>
            <view class="bg-green item">B</view>
            <view class="bg-red item">C</view>
        </ScrollView>
        <view>scroll-view横向滚动</view>
        <ScrollView class="scroll-x" scroll-x="true">
            <view class="bg-blue item2">D</view>
            <view class="bg-green item2">E</view>
            <view class="bg-red item2">F</view>
        </ScrollView>
    </view>
</template>
<script>
    export default{
        data() {
            return {

            }
        }
}
</script>
